﻿@*
   列表集合表头 Bar
*@
@{
    var set = ViewBag.PageSetting as PageSetting;
}

<script type="text/html" id="table-toolbar">
    <div class="layui-row layui-col-space5">
      <div class="layui-col-md11" style="text-align:left;">
            <div class="layui-btn-container">
                @if (this.Has(PermissionFlags.Delete))
                {
                              <button class="layui-btn layui-btn-sm layui-btn-danger icon-btn" lay-event="B_Detele_Data"><i class="layui-icon">&#xe640;</i>批量删除</button>
                }
                @if (set.EnableAdd && !set.IsReadOnly && this.Has(PermissionFlags.Insert))
                {
                              <button class="layui-btn layui-btn-sm icon-btn" lay-event="Add_Data"><i class="layui-icon">&#xe654;</i>新增</button>
                }
                <button class="layui-btn layui-btn-sm icon-btn" id="toolMore">更多<i class="layui-icon layui-icon-down layui-font-12"></i></button>
          </div>
      </div>
    </div>
</script>
